Top X tips to code & debug efficiently [closed]

Posted by user1510230 on Programmers See other posts from Programmers or by user1510230
Published on 2012-07-09T16:11:33Z Indexed on 2012/07/09 21:22 UTC
Read the original article Hit count: 193

I'm starting a big Java project and I wanted to have some advices that could benefit us all.

What are the X (X could be 5 / 10 / ... or even 100 :) most important tips to code and debug efficiently in general (and in particular with java / javascript) ?

I'll start with some basic ones :

Use functions everytime a portion of code is used more than twice. Try not to code features with more than 15 lines of code in one shot. Rather write 5 lines of code then check if they work correctly then write 5 more... and so on start with the outcome of the function and then code it backwards (bottom-top approach) ... Thanks everybody

© Programmers or respective owner

Related posts about java

Related posts about programming-languages